package com.aizuda.boot.modules.business.approval.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 抄送任务实体
 */
@Data
@TableName("cc_task")
@Schema(description = "抄送任务")
public class CcTaskEntity {

    @TableId(type = IdType.AUTO)
    @Schema(description = "主键ID")
    private Integer id;

    @Schema(description = "节点实例ID")
    private Integer nodeInstanceId;

    @Schema(description = "抄送节点ID")
    private Integer nodeCcId;

    @Schema(description = "抄送用户ID")
    @TableField("cc_user_id")
    private Long ccUserId;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}
